<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<c:forEach items="${productGroup}" var="pG">
	<div class="box s">
		<div class="btitle">
			<a style="color: #FFFFFF" title="${pG.description}" href="searchProduct.html?productGroupId=${pG.id}&page=1"> ${pG.name} </a>
		</div>
		<div class="bCt">
			<ul class="ul catLs">
				<c:forEach items="${pG.subProductGroupList}" var="sPG">
					<li class="f"><a title="${sPG.description}" href="searchProduct.html?productGroupId=${sPG.id}&page=1"> ${sPG.name}</a></li>
				</c:forEach>
			</ul>
		</div>
	</div>
	<div class="clear"></div>
</c:forEach>

<div class="box s">
	<div class="btitle">
		<a style="color: #FFFFFF" title="<spring:message code="page.statistic.label" />"><spring:message code="page.statistic.label" /></a>
	</div>
	<div class="bCt">
		<table class="table">
			<tbody>
				<tr>
					<td><img src="<c:url value='/images/online.png'/>" align="absmiddle"> <spring:message code="page.statistic.online" /></td>
					<td>:<font color="red">&nbsp; 112</font></td>
				</tr>
				<tr>
					<td><img src="<c:url value='images/tongtruycap.png'/>" align="absmiddle"> <spring:message code="page.statistic.today.online" /></td>
					<td>:<font color="red">&nbsp; 1831</font></td>
				</tr>
				<tr>
					<td><img src="<c:url value='images/thongke.png'/>"> <spring:message code="page.statistic.total" /></td>
					<td>:<font color="blue">&nbsp; 17755</font></td>
				</tr>
			</tbody>
		</table>
	</div>
</div>
<div class="clear"></div>
<div class="box adsBox">
	<ul class="ul">
		<li><c:forEach items="${ads }" var="f">
				<a rel="nofollow" target="_blank" href="${f.description}"> <img src="<c:url value='loadImage.html?type=FULL&fileId=${f.id}'/>" border="0" height="auto"
					width="190"></a>
			</c:forEach></li>
	</ul>
</div>